package com.example.demo.entity;

import com.alibaba.fastjson.JSONObject;

public class FileUpReturnEntity {
	/**
	 * 文件路径
	 */
	private String fileUrl;
	
	/**
	 * 保存类型  0本地服务器  1sftp服务器  2OSS
	 */
	private String saveType;

	public FileUpReturnEntity() {
		super();
	}

	public FileUpReturnEntity(String fileUrl, String saveType) {
		super();
		this.fileUrl = fileUrl;
		this.saveType = saveType;
	}

	public String getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}

	public String getSaveType() {
		return saveType;
	}

	public void setSaveType(String saveType) {
		this.saveType = saveType;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return JSONObject.toJSONString(this);
	}
}
